<?php

	include("includes/connect.php");

	$id			= trim($_REQUEST['id']);
	$x				= $_REQUEST['x'];

	if (isset($id) && !empty($id) && !is_null($id)) {
		echo $id, $x;
	} else {
		echo "not set";
	}
	
/*
	if( $task == "insert" ){
		//insert
		$sql = "INSERT INTO web_modules "
				. "(titles, position, published, module, showtitle, user_id)"
				. "VALUES( '$titles', '$position', '0', 'mod_menus', '0', '$auth_id')";

		mysql_query( $sql ) or die ( mysql_error() );
	}else if ( $task == "update" ){
		//update
		$sql = "UPDATE web_modules SET titles='$titles' WHERE id='$id'";
		mysql_query( $sql ) or die (mysql_error() );	
	}
*/
?>